/*
 * @Description: 方法
 * @Author: rendc
 * @Date: 2025-07-22 11:20:44
 * @LastEditors: rendc
 * @LastEditTime: 2025-07-22 11:39:09
 */
public class Test04 {

  public static void main(String[] args) {
    getSum(1, 2);
  }

  public static void getSum(int a, int b) {
    System.out.println("int:" + (a + b));
  }

  // public static int getSum(int a, int b) {
  // System.out.println("int:" + (a + b));
  // return a + b;
  // }

  // public static void getSum(int c, int d) {
  // System.out.println("int:" + (c + d));
  // }

  public static void getSum(double a, double b) {
    System.out.println("double:" + (a + b));
  }

  public static double getSum(double a, double b, double c) {
    System.out.println("double:" + (a + b));
    return (a + b);
  }
}
